#pragma once

#include "Includes.h"
#include "HL2Interface.h"
#include "CBaseCombatWeapon.h"
#include "Utilities.h"
#include "CUserCmd.h"
#include "CBaseHandle.h"

class NoSpread
{
public:
	bool Active;
	bool NoRecoil;
	bool NoSpreadMethod;
public:
	void Init();
	void Enable();
	void Disable();
	void Set(bool Active);
	void SetMethod(bool Method);
	void SetRecoil(bool Active);
	void ApplyNoRecoil(CUserCmd* cmd, bool dual = false);
	void ApplySeedSpread(CUserCmd* cmd);
};

extern NoSpread g_pNoSpread;

